package com.aynu.webshop.web.dao;

import java.util.List;

import com.aynu.webshop.core.generic.GenericDao;
import com.aynu.webshop.web.model.Address;

public interface AddressMapper extends GenericDao<Address, Integer> {
    int deleteByPrimaryKey(Integer adId);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer adId);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);
    
    List<Address> findAll();
    
    List<Address> findAllByUid(Integer uid);
}